package pers.cj.pdos.mapper;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import pers.cj.pdos.vo.HouseVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface HouseMapper extends BaseMapper<House> {
    List<HouseVo> listVo(@Param("page") Integer page, @Param("limit") Integer limit,
                         @Param("companyId")String companyId, @Param("storeId") String storeId,
                             @Param("content") String content, @Param("status") Integer status);
    long count(@Param("companyId")String companyId, @Param("storeId") String storeId,
               @Param("content") String content, @Param("status") Integer status);

    HouseVo getVoById(String id);

    List<Long> check(String id);
}
